package com.jr.service;

import com.jr.entry.BookInfo;
import com.jr.entry.Users;
import com.jr.util.PageBean;


import java.util.List;

public interface UsersService {
    boolean login(Users user);
    PageBean<BookInfo> selectAllBook(int currentPage, int pageSize);
    List<BookInfo> selectBookByInfo(BookInfo bookInfo);
    BookInfo selectBookByBookCode(BookInfo bookInfo);
    boolean updateBook(BookInfo bookInfo);
    boolean deleteBook(String book_code);
    boolean addBook(BookInfo bookInfo);
}
